If a new user is created, 'luci-mod-status-index' should also be selected, as
this is the start page after login. If a user is created without this, only
a 404 is displayed.
Signed-off-by: Florian Eckert <[email protected]>
]);
Object.keys(aclList).sort().forEach(function(aclGroupName) {
- var isRequired = (aclGroupName == 'unauthenticated' || aclGroupName == 'luci-base'),
+ var isRequired = (aclGroupName == 'unauthenticated' || aclGroupName == 'luci-base' || aclGroupName == 'luci-mod-status-index'),
isReadable = (readMatches[0].test(aclGroupName) && !readMatches[1].test(aclGroupName)) || null,
isWritable = (writeMatches[0].test(aclGroupName) && !writeMatches[1].test(aclGroupName)) || null;